package site

import (
	"context"
	"hotgo/utility/url"

	"hotgo/api/site/v1"
)

func (c *ControllerV1) GetOssInfo(ctx context.Context, req *v1.GetOssInfoReq) (res *v1.GetOssInfoRes, err error) {
	res = new(v1.GetOssInfoRes)
	res.BucketURL = url.GetAddr(ctx)
	return
}
